package com.xzx.shop_front_api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * banner实体类
 */
@Component
@Data
@TableName("shop_banners")
public class Banner {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String url;
    private String title;
    private int sortNum;
    private String img;

}
